package org.example.backend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 壁纸标签关联表
 * @TableName wallpaper_tags
 */
@TableName(value ="wallpaper_tags")
@Data
public class WallpaperTags {
    /**
     * 关联ID，主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 壁纸ID
     */
    @TableField(value = "wallpaper_id")
    private Long wallpaper_id;

    /**
     * 标签ID
     */
    @TableField(value = "tag_id")
    private Integer tag_id;
}